home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / batchlrn.arc / INTRO-4.HLP < prev    next >
Text File  |  1991-06-17  |  1KB  |  24 lines

  1. You M-U-S-T > > > c-o-n-c-e-t-r-a-t-e as things get more diffi-
  2. cult and complex. Don't be afraid to re-read something!  If you
  3. are making up a batch file  and it doesn't work (they sometimes
  4. DON'T) STOP the file and analyze it. You stop a batch file with
  5. a Control C (for some users that's a control-break). When using
  6. this method to abort a batch processing file, DOS will give you
  7. a message.  Answer Y for yes and you will abort the batch file,
  8. returning to your prompt.  If you answer N for no the file will
  9. continue processing until it finishes or you abort again.
  10.        
  11. To display a batch file use the TYPE command.If you want to re-
  12. vise a file, use EDLIN.  You can use PrtSc with the right shift
  13. key to print what is on the screen(push shift, hold it and then
  14. ALSO press PrtSc. Using EDLIN displays the entire file with all
  15. its line numbers.Look the file over,then print from the screen.
  16. This will save you a lot of time in the long run! Being able to
  17. examine a hard copy of your work product should be very helpful
  18. in finding ERRORS.  FIRST look for DOS commands that are "myss-
  19. spylldedd" (believe it or not)! NEXT look for any other program
  20. commands that are not correctly spelled. LASTLY, check EACH and
  21. EVERY step (line) of the batch file to make sure it >>F-L-O-W-S
  22. EXACTLY the way you wanted it to!  As we move you into the more
  23. complex  batch sub-commands finding errors will become crucial!
  24.